package com.fzkj.juc.forkjoin.entity;

/**
 * @ description
 * @ author yaya
 * @ since 2024/9/5
 */
public class User {

    private int userId;
    private String name;
    private String identity;

    public User(int userId, String name, String identity) {
        this.userId = userId;
        this.name = name;
        this.identity = identity;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", name='" + name + '\'' +
                ", identity='" + identity + '\'' +
                '}';
    }
}
